package com.hery.pojo.alertManager;

/**
 * AlertManager 规则路由方式
 */
public enum Route {
    WEBHOOK("dingding"),
    MAIL("mail"),
    DEFAULT("all");

    private final String code ;
    Route(String code) {
        this.code = code;
    }

    public String code(){
        return this.code;
    }
}
